﻿using System;

namespace YArchitech.Plumbing
{
	public class EquivalentLength
	{
		public int ID { get; set; }

		public string Name { get; set; }

		public int DN { get; set; }

		public double EquivalentValue { get; set; }

		public EquivalentLength()
		{
		}

		public EquivalentLength(int id, string name, int dn, double equivalent)
		{
			this.ID = id;
			this.Name = name;
			this.DN = dn;
			this.EquivalentValue = equivalent;
		}

		public EquivalentLength(EquivalentLength obj)
		{
			this.ID = obj.ID;
			this.Name = obj.Name;
			this.DN = obj.DN;
			this.EquivalentValue = obj.EquivalentValue;
		}

		public static readonly string Elbow = "弯头";

		public static readonly string TeeOrCross = "三通或四通管";

		public static readonly string ButterflyValve = "蝶阀";

		public static readonly string BrakeValve = "闸阀";

		public static readonly string CheckValve = "止回阀";

		public static readonly string Transition = "变径";
	}
}
